/****************NOTES********************************
**I might want to eventually make an intermediate class
  called Menus if I end up having more than 2 menus
**You might want to put a repeat timer on holding a 
  button down, so that it slowly switches through 
  the menus instead of at real time.
****************NOTES*********************************/

#ifndef STATSMENU_H
#define STATSMENU_H

#include "controllableObject.h"
#include "player.h"

class StatsMenu : public ControllableObject
{
public:
	StatsMenu();
	void draw(sf::RenderWindow &window);
	//setter and getter for MenuOn
	bool menuOn(){return MenuOn;}
	void menuOn(bool option){MenuOn = option;}
private:
	int menuIndex;
	//used to Tell if the statsMenu is on 
	bool MenuOn;
	void initInputFunc();
	sf::Image menus[5];
	sf::Sprite extra;

	friend void statsMenuLeft(void *object, void *extraData = 0);
	friend void nstatsMenuLeft(void *object, void *extraData = 0);
	friend void statsMenuRight(void *object, void *extraData = 0);
	friend void nstatsMenuRight(void *object, void *extraData = 0);
	friend void statsMenuPlayer(void *object, void *extraData = 0);
	friend void nstatsMenuPlayer(void *object, void *extraData = 0);

	friend class Player;
};

#endif //STATSMENU_H